package cn.taichoo.server.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.core.utils.DateUtils;
import org.springframework.stereotype.Service;
import cn.taichoo.server.mapper.UserRegisterMapper;
import cn.taichoo.server.domain.UserRegisterEntity;
import cn.taichoo.server.service.IUserRegisterService;

import javax.annotation.Resource;

/**
 * 用户注册关联关系Service业务层处理
 *
 * @author Wuzh
 * @date 2025-03-17
 */
@Service
public class UserRegisterServiceImpl extends ServiceImpl<UserRegisterMapper, UserRegisterEntity> implements IUserRegisterService {

    @Resource
    private UserRegisterMapper userRegisterMapper;

    /**
     * 查询用户注册关联关系
     *
     * @param id 用户注册关联关系主键
     * @return 用户注册关联关系
     */
    @Override
    public UserRegisterEntity selectUserRegisterEntityById(Long id) {
        return userRegisterMapper.selectUserRegisterEntityById(id);
    }

    /**
     * 查询用户注册关联关系列表
     *
     * @param userRegisterEntity 用户注册关联关系
     * @return 用户注册关联关系
     */
    @Override
    public List<UserRegisterEntity> selectUserRegisterEntityList(UserRegisterEntity userRegisterEntity) {
        return userRegisterMapper.selectUserRegisterEntityList(userRegisterEntity);
    }

}
